package org.jeecg.modules.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.jeecg.modules.biz.entity.BurnCashOutApply;

import java.util.List;
import java.util.Map;

public interface BurnCashOutAppleMapper extends BaseMapper<BurnCashOutApply> {

    @Update("update biz_burn_cash_out_apply set is_examine = 1 where address = #{address}")
    boolean updateExamineByAddress(@Param("address") String address);

    IPage<Map<String, Object>> findList4Examine(Page<Map<String, Object>> page);
}
